package com.dragonwu.feign;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

/**
 * @author DragonWu
 * @since 2022-10-11 8:48
 **/
@Data
public class JwtToken {
    @JsonProperty("access_token")
    private String accessToken;

    /*
    token的类型
     */
    @JsonProperty("token_type")
    private String tokenType;

    @JsonProperty("refresh_token")
    private String refreshToken;

    /*
    过期时间
     */
    @JsonProperty("expires_in")
    private Long expiresIn;

    /*
    token的范围
     */
    private String scope;

    /*
    颁发的凭证
     */
    private String jti;
}
